public class AddStudent {  

public String  message{get;set;}

NewYearGrade__c yeargrade ;


 public NewYearGrade__c getYeargrade() {
 yeargrade=new NewYearGrade__c ();
 yeargrade.Chinese__c = 60;
 yeargrade.Math__c=60;
 yeargrade.English__c=60;
  return yeargrade;
}
//阿斯顿广泛大概
public PageReference addStu() {

 Database.insert(yeargrade );
 message ='添加成功，等待审核';
 return null;
}

}